package com.atguigu.daijia.map.repository;

import com.atguigu.daijia.model.entity.map.OrderServiceLocation;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 谢忠涵7
 */
@Repository
public interface OrderServiceLocationRepository
         extends MongoRepository<OrderServiceLocation, String> {
    List<OrderServiceLocation> findByOrderIdOrderByCreateTimeAsc(Long orderId);
}
